package com.pdsu.graduation_design.domain;

public class User {

    private int uid;
    private String username;
    private String name;
    private String password;
    private String phone;
    private String token;

    private Double miaoshu;
    private Double sudu;
    private Double taidu;

    public Double getMiaoshu() {
        return miaoshu;
    }

    public void setMiaoshu(Double miaoshu) {
        this.miaoshu = miaoshu;
    }

    public Double getSudu() {
        return sudu;
    }

    public void setSudu(Double sudu) {
        this.sudu = sudu;
    }

    public Double getTaidu() {
        return taidu;
    }

    public void setTaidu(Double taidu) {
        this.taidu = taidu;
    }

    public User(int uid, String username, String name, String password, String phone, String token, Double miaoshu, Double sudu, Double taidu) {
        this.uid = uid;
        this.username = username;
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.token = token;
        this.miaoshu = miaoshu;
        this.sudu = sudu;
        this.taidu = taidu;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", token='" + token + '\'' +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public User() {
    }

    public User(int uid, String username, String name, String password, String phone, String token) {
        this.uid = uid;
        this.username = username;
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.token = token;
    }
}
